﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Flowers;

namespace Logic
{
    public class Counter
    {
        public double Count(List<AbstractFlowers> A)
        {
            double Price = 0;
            foreach (AbstractFlowers flower in A)
            {
                Price += flower.Price;
            }
            return Price;
        }
    }
}